package com.hmall.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.item.pojo.Item;

public interface ItemService extends IService<Item> {
    //上架和下架逻辑
    public void updateStatus(Long id,Integer status);

    void updateStock(Long itemId, Integer num);
}
